<html lang="zh-CN">
<%@ page language="java" import="java.util.*"   pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath(); 
%>
       <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
  
    <title>2i接口文档</title>
    <meta content="2i接口文档" name="keywords" />
    <meta content="2i接口文档" name="description" />
    <style>
    
    
        ul,li{
            
            
            list-style: none;
        }
        li{
            
            margin-top:20px;
        }
        h2{
            
            text-align: center;
            
            
        }
        table{
            
            
            border-collapse: collapse;
            border-spacing: 0;
            width: 90%;
            margin: auto;
        }
        table td,th{
            height:30px;
            line-height: 30px;
            padding-left: 20px;
            border:1px solid #ddd;
        }
    
    </style>
</head>

<body>
   
    
    <h2>2i接口文档目录</h2>

    <ul>
        <li>
            <table>
                <thead>
                    <th colspan=2">筛查接口</th>
                </thead>
               <c:forEach items="${api_home}" var="url" varStatus="Index">
                <tr>
                    <td width="20%">${Index.index+1}</td>
                    <td><a href="<%=basePath %>/api/info.action?api_path=${url} "target="_blank">${url}</a></td>
                </tr> 
                 </c:forEach>
               
               
            </table>
        </li>
        
       <!-- <li>
            <table>
                <thead>
                    <th colspan="2">doctor接口</th>
                </thead>
                <tr>
                    <td width="20%">用户相关</td>
                    <td><a href="">http://2i.find2i.com</a></td>
                </tr>
                <ul>
                    <li></li>
                </ul>
            </table>
        </li>-->
    </ul>
</body>

</html>